package com.acme.basic;

public class FailCase {

    private final int x = 1;

    public int add(int a, int b) {
        // 11
        System.out.println(x);
        return a + b;
    }

    public void throwE(int a) {
        if (a < 0) {
            throw new IllegalArgumentException("参数不合法");
        } else if (a < 3) {
            System.out.println(1);
        }

        if (a < 1) {
            throw new IllegalArgumentException("参数不合法");
        }
        System.out.println(a);
    }
}
